package com.maoning.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maoning.common.utils.PageUtils;
import com.maoning.product.entity.BrandEntity;
import com.maoning.product.entity.CategoryBrandRelationEntity;
import com.maoning.product.entity.CategoryEntity;
import com.maoning.product.vo.BrandVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author ss
 * @email 361736093@qq.com
 * @date 2021-08-19 10:06:57
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId,String name);

    List<BrandEntity> getBrandsBycatId(Long catId);
}

